<?php /* Smarty version Smarty-3.1.21, created on 2015-05-30 14:21:01
         compiled from "D:\mywamp\www\2015php\wenda\Index\View\home\myanswer.html" */ ?>
<?php /*%%SmartyHeaderCode:196445569c6f1c7cc31-95260802%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e600fd6ccd71cc05388a7d3eb4f05dfc89522c91' => 
    array (
      0 => 'D:\\mywamp\\www\\2015php\\wenda\\Index\\View\\home\\myanswer.html',
      1 => 1432995659,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '196445569c6f1c7cc31-95260802',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.21',
  'unifunc' => 'content_5569c6f1da9901_30748031',
  'variables' => 
  array (
    'accept' => 0,
    'myanswer' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5569c6f1da9901_30748031')) {function content_5569c6f1da9901_30748031($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_substr')) include 'D:\\mywamp\\www\\2015php\\wenda\\Lwbphp\\Extend\\Org\\Smarty\\plugins\\modifier.substr.php';
if (!is_callable('smarty_modifier_date_format')) include 'D:\\mywamp\\www\\2015php\\wenda\\Lwbphp\\Extend\\Org\\Smarty\\plugins\\modifier.date_format.php';
?>		<?php echo '<script'; ?>
 type="text/javascript" src="<?php echo @constant('__PUBLIC__');?>
/Js/homeanswertab.js"><?php echo '</script'; ?>
>
			<p class='title'>我的回答</p>
			<ul class='ask-filter'>
				<li class='<?php if ($_smarty_tpl->tpl_vars['accept']->value==0) {?>cur<?php }?>' data-accept="0">全部回答</li>
				<li class='<?php if ($_smarty_tpl->tpl_vars['accept']->value==1) {?>cur<?php }?>' data-accept="1">被采纳的回答</li>
			</ul>
			<div class='list list-filter'>
				<table>
						<?php if (count($_smarty_tpl->tpl_vars['myanswer']->value)==0) {?>
						<tr height='140'>
							<td>你还没有回答过问题 V_V</td>
						</tr>
						<?php } else { ?>
						
						<tr>
							<th class='t1'>标题</th>
							<th>回答</th>
							<th class='t3'>更新时间</th>
						</tr>
						<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['myanswer']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
						<tr>
							<td class='t1'>
								<a href="<?php echo @constant('__APP__');?>
?c=show&asid=<?php echo $_smarty_tpl->tpl_vars['v']->value['asid'];?>
"><?php echo smarty_modifier_substr($_smarty_tpl->tpl_vars['v']->value['content'],45);?>
</a><span>[<?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
]</span>
							</td>
							<td><?php echo $_smarty_tpl->tpl_vars['v']->value['answer'];?>
</td>
							<td class='t3'><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['time'],"%Y-%m-%d");?>
</td>
						</tr>
						<?php } ?>
						<?php }?>
				</table>
			</div>
			

<?php }} ?>
